﻿<?php //Seyret Component v.0.3//
/**
* @package Seyret
* @version 0.3
* @copyright Copyright (C) 2008 Mustafa DINDAR. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Seyret Video Component is a free software.
* See seyrettos.html for license notices and details.
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );





$videos=$this->videolist;


?>

<seyretxml>

	
	<info>
	
	
		<langdefs>
			<viewslabelt><![CDATA[<?php echo JText::_('Views');?>]]></viewslabelt>
			<addedbylabelt><![CDATA[<?php echo JText::_('Added by');?>]]></addedbylabelt>
		</langdefs>
		
	
	
<?php

foreach ($videos as $video) {
	if ($this->videoid == $video->id) continue;
?>
		<videodetails>
			<videotitle><![CDATA[<?php echo $video->videotitle; ?>]]></videotitle>
			<videothumbnail><?php echo  $video->videothumbnail; ?></videothumbnail>
			<videoid><?php echo  $video->id; ?></videoid>
			<videoduration><?php echo  $video->duration; ?></videoduration>
			<videolink><?php echo  $video->videolink; ?></videolink>
			<viewscount><?php echo  $video->hits; ?></viewscount>
			<ownerusername><?php echo  strip_tags($video->usernamelinked) ; ?></ownerusername>
			
		</videodetails>

<?php

}
?>
	</info>
</seyretxml>